<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: H:/project/LibTools/src/socket/SocketDef.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_9ad1227260954e346101f3844f0abb3d.html">socket</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">SocketDef.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_socket_def_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef __SOCKETDEF_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define __SOCKETDEF_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &quot;../tools/tools.h&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160; </div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<a class="code" href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160; </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#if !defined(BIG_ENDIAN)</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="_socket_def_8h.html#a23eb5e058a210efdde3d64e69679fafa">    8</a></span>&#160;<span class="preprocessor">#   define BIG_ENDIAN       0   </span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#if !defined(LITTER_ENDIAN)</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="_socket_def_8h.html#a688c99e67d121a4fb3216745e197c16e">   11</a></span>&#160;<span class="preprocessor">#   define LITTER_ENDIAN    1</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="_socket_def_8h.html#a4ed84b992d72d4a2f25466ab4ae617c8">   13</a></span>&#160;<span class="preprocessor">#define SOCK_BAD(_sockstatus) ( ((_sockstatus) == SOCKETSTATUS::ABORT) || ((_sockstatus) == SOCKETSTATUS::DISCONNECT) || ((_sockstatus) == SOCKETSTATUS::UNINIT) )</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="_socket_def_8h.html#a3222a7b518b85106d3890eae100958b8">   14</a></span>&#160;<span class="preprocessor">#define SOCK_GOOD(_sockstatus) ( !SOCK_BAD(_sockstatus) )</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#ifndef SD_BOTH</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="_socket_def_8h.html#a06a11612afb43fedd0194d8b59cb02ed">   17</a></span>&#160;<span class="preprocessor">#   define SD_BOTH SHUT_RDWR</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#ifndef SD_RECEIVE</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="_socket_def_8h.html#adb37a73baa9ae99a29b2bc5e635b2990">   20</a></span>&#160;<span class="preprocessor">#   define SD_RECEIVE SHUT_RD</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#ifndef SD_SEND</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="_socket_def_8h.html#ab8d2ae8532f7f1a85345500eacfd3b84">   23</a></span>&#160;<span class="preprocessor">#   define SD_SEND SHUT_WR</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html">   29</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html">SOCKPROTOCOL</a></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672e">   31</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672e">SockProtocol</a></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    {</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea1cf712009c4a2e63641289b96b3d233b">   33</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea1cf712009c4a2e63641289b96b3d233b">IPC_OPEN</a>,                   </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea43d9e1a8ae64989aa870537a77c1fa8e">   34</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea43d9e1a8ae64989aa870537a77c1fa8e">IPC_CREATE</a>,                 </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea259d0611981249ea03db09636970baa0">   35</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea259d0611981249ea03db09636970baa0">TCP</a> = IPPROTO_TCP,          </div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea58ac0a98fdbaa936244fd01553e71dce">   36</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea58ac0a98fdbaa936244fd01553e71dce">UDP</a> = IPPROTO_UDP           </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    };</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;}</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_t_y_p_e.html">   43</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_s_o_c_k_t_y_p_e.html">SOCKTYPE</a></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;{</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488c">   45</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488c">SockType</a></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    {</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488ca001599c1c291d81e5145c9aaed42852d">   47</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488ca001599c1c291d81e5145c9aaed42852d">STREAM</a> = SOCK_STREAM,       </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488ca6c4816da2ab72fec5773dc4650d5aa78">   48</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488ca6c4816da2ab72fec5773dc4650d5aa78">DGRAM</a> = SOCK_DGRAM          </div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    };</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;}</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_f_a_m_i_l_y.html">   55</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_s_o_c_k_f_a_m_i_l_y.html">SOCKFAMILY</a></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;{</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81">   57</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81">SockFamily</a></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    {</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81ae4bb989ffed1b2c292589a021e012c8c">   59</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81ae4bb989ffed1b2c292589a021e012c8c">UNKNOWN</a> = 0,                </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81a7c983a10bd5c8139d1aa1268993d8604">   60</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81a7c983a10bd5c8139d1aa1268993d8604">IPC</a> = AF_UNIX,              </div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81a00bf55dcef9400794a5918a0fcd59b5d">   61</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81a00bf55dcef9400794a5918a0fcd59b5d">IPV4</a> = AF_INET,             </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81a62dc3951a8b29adacbbec0cfdb0a3b70">   62</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81a62dc3951a8b29adacbbec0cfdb0a3b70">IPV6</a> = AF_INET6,            </div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81ae646acb5a504e12ce7d8521ce368e250">   63</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81ae646acb5a504e12ce7d8521ce368e250">STORE</a> = 99,                 </div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    };</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;}</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="namespace_s_d_f_l_a_g_s.html">   70</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_s_d_f_l_a_g_s.html">SDFLAGS</a></div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;{</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330">   72</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330">SdFlags</a></div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    {</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330a8a1d2d7f5a4794a97735886c8c5d829d">   74</a></span>&#160;        <a class="code" href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330a8a1d2d7f5a4794a97735886c8c5d829d">SDF_READ</a> = <a class="code" href="_socket_def_8h.html#adb37a73baa9ae99a29b2bc5e635b2990">SD_RECEIVE</a>,      </div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330a2c7e3a56d176e91b2a9a7a225ff7955b">   75</a></span>&#160;        <a class="code" href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330a2c7e3a56d176e91b2a9a7a225ff7955b">SDF_WRITE</a> = <a class="code" href="_socket_def_8h.html#ab8d2ae8532f7f1a85345500eacfd3b84">SD_SEND</a>,        </div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330ad21a676cf401576e5b1791b1b347e7a2">   76</a></span>&#160;        <a class="code" href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330ad21a676cf401576e5b1791b1b347e7a2">SDF_BOTH</a> = <a class="code" href="_socket_def_8h.html#a06a11612afb43fedd0194d8b59cb02ed">SD_BOTH</a>          </div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    };</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;}</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="comment">//---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="comment">// 套接字状态枚举值</span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="comment">//---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html">   83</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html">SOCKETSTATUS</a></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;{</div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876">   85</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876">SockStatus</a></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    {</div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a5a76b20cc3c857f53d6e5e7e817c8959">   87</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a5a76b20cc3c857f53d6e5e7e817c8959">UNINIT</a>,                     </div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a53a0a7cf483501d229bf2da279e6c9d0">   88</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a53a0a7cf483501d229bf2da279e6c9d0">CONNECTING</a>,                 </div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a119db78cc4a987e673c0d3ebbfd2d623">   89</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a119db78cc4a987e673c0d3ebbfd2d623">CONNECTED</a>,                  </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a416915ff18b78f2c6a8ddbd11ecee17b">   90</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a416915ff18b78f2c6a8ddbd11ecee17b">ACCEPTING</a>,                  </div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a0000a02186d14b5d44fdc32c6079d613">   91</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a0000a02186d14b5d44fdc32c6079d613">ACCEPTED</a>,                   </div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a180e25a3d312e7fe3b180fd178ca845c">   92</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a180e25a3d312e7fe3b180fd178ca845c">ACCEPTABLE</a>,                 </div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876ad1783e136ad5754e2eab048cb820b4ff">   93</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876ad1783e136ad5754e2eab048cb820b4ff">SENDING</a>,                    </div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a52566ca153bf6bcb661b1e8e606d3b5b">   94</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a52566ca153bf6bcb661b1e8e606d3b5b">SENDED</a>,                     </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a4725d556eec60381e5f461825c6e7663">   95</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a4725d556eec60381e5f461825c6e7663">SENDABLE</a>,                   </div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876ae3686c6dc7174963cab19201ce9940ab">   96</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876ae3686c6dc7174963cab19201ce9940ab">SEND_CACHE_FULL</a>,            </div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a820b39ebbedd5bde9ec84464cb0ec61c">   97</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a820b39ebbedd5bde9ec84464cb0ec61c">RECVING</a>,                    </div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a8e36da283b8c83b61bab630b9b858724">   98</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a8e36da283b8c83b61bab630b9b858724">RECVED</a>,                     </div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a6f4cc1bf4de5471ed74427c8139eb099">   99</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a6f4cc1bf4de5471ed74427c8139eb099">RECVABLE</a>,                   </div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876ae4b62a3fa8bb4b81876189ceed86c0ae">  100</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876ae4b62a3fa8bb4b81876189ceed86c0ae">DISCONNECT</a>,                 </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a27b6c69c3b815f5babac4a152f003d42">  101</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a27b6c69c3b815f5babac4a152f003d42">CLOSE</a>,                      </div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a21f4b3f4919004aed6322dd5435c430c">  102</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a21f4b3f4919004aed6322dd5435c430c">TIMEOUT</a>,                    </div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a98a45dbdd82b756e472aafbf06957ad0">  103</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a98a45dbdd82b756e472aafbf06957ad0">EXIT</a>,                       </div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a38c17a81fd2efb34acfba45cdb0751c7">  104</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a38c17a81fd2efb34acfba45cdb0751c7">ABORT</a>,                      </div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876acbc6a92d2f6de3cda399fb0de0ffdd98">  105</a></span>&#160;        <a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876acbc6a92d2f6de3cda399fb0de0ffdd98">POST</a>                        </div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    };</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;}</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160; </div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<a class="code" href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="preprocessor">#endif // __SOCKETDEF_H__</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="anamespace_s_o_c_k_p_r_o_t_o_c_o_l_html"><div class="ttname"><a href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html">SOCKPROTOCOL</a></div><div class="ttdoc">套接字协议枚举值</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00029">SocketDef.h:29</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876a180e25a3d312e7fe3b180fd178ca845c"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a180e25a3d312e7fe3b180fd178ca845c">SOCKETSTATUS::ACCEPTABLE</a></div><div class="ttdoc">可接收</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00092">SocketDef.h:92</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_t_y_p_e_html"><div class="ttname"><a href="namespace_s_o_c_k_t_y_p_e.html">SOCKTYPE</a></div><div class="ttdoc">已连接的套接字类型枚举值</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00043">SocketDef.h:43</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876a52566ca153bf6bcb661b1e8e606d3b5b"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a52566ca153bf6bcb661b1e8e606d3b5b">SOCKETSTATUS::SENDED</a></div><div class="ttdoc">发送完成</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00094">SocketDef.h:94</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876a416915ff18b78f2c6a8ddbd11ecee17b"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a416915ff18b78f2c6a8ddbd11ecee17b">SOCKETSTATUS::ACCEPTING</a></div><div class="ttdoc">接收</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00090">SocketDef.h:90</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_t_y_p_e_html_ab1b532206487defe92ed4eeae94b488ca6c4816da2ab72fec5773dc4650d5aa78"><div class="ttname"><a href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488ca6c4816da2ab72fec5773dc4650d5aa78">SOCKTYPE::DGRAM</a></div><div class="ttdoc">socket 数据报,暂时不支持</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00048">SocketDef.h:48</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876a6f4cc1bf4de5471ed74427c8139eb099"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a6f4cc1bf4de5471ed74427c8139eb099">SOCKETSTATUS::RECVABLE</a></div><div class="ttdoc">可读</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00099">SocketDef.h:99</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_p_r_o_t_o_c_o_l_html_a6fcb9a12773185f3ca183ad967bb672ea43d9e1a8ae64989aa870537a77c1fa8e"><div class="ttname"><a href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea43d9e1a8ae64989aa870537a77c1fa8e">SOCKPROTOCOL::IPC_CREATE</a></div><div class="ttdoc">创建IPC，当作为服务端连接时使用（仅CIpcSocket使用）</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00034">SocketDef.h:34</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_p_r_o_t_o_c_o_l_html_a6fcb9a12773185f3ca183ad967bb672ea259d0611981249ea03db09636970baa0"><div class="ttname"><a href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea259d0611981249ea03db09636970baa0">SOCKPROTOCOL::TCP</a></div><div class="ttdoc">tcp协议</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00035">SocketDef.h:35</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_p_r_o_t_o_c_o_l_html_a6fcb9a12773185f3ca183ad967bb672e"><div class="ttname"><a href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672e">SOCKPROTOCOL::SockProtocol</a></div><div class="ttdeci">SockProtocol</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00031">SocketDef.h:31</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_t_y_p_e_html_ab1b532206487defe92ed4eeae94b488c"><div class="ttname"><a href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488c">SOCKTYPE::SockType</a></div><div class="ttdeci">SockType</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00045">SocketDef.h:45</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876ad1783e136ad5754e2eab048cb820b4ff"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876ad1783e136ad5754e2eab048cb820b4ff">SOCKETSTATUS::SENDING</a></div><div class="ttdoc">发送中</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00093">SocketDef.h:93</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html">SOCKETSTATUS</a></div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00083">SocketDef.h:83</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_f_a_m_i_l_y_html_a2752d06098f227dbd8340b30a718da81a62dc3951a8b29adacbbec0cfdb0a3b70"><div class="ttname"><a href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81a62dc3951a8b29adacbbec0cfdb0a3b70">SOCKFAMILY::IPV6</a></div><div class="ttdoc">sockaddr_in6</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00062">SocketDef.h:62</a></div></div>
<div class="ttc" id="atools_8h_html_a201ce692c9dca6599e5c12d00167419b"><div class="ttname"><a href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div><div class="ttdeci">#define DEF_BEG_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00036">tools.h:36</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_f_a_m_i_l_y_html_a2752d06098f227dbd8340b30a718da81ae646acb5a504e12ce7d8521ce368e250"><div class="ttname"><a href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81ae646acb5a504e12ce7d8521ce368e250">SOCKFAMILY::STORE</a></div><div class="ttdoc">sockaddr_store</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00063">SocketDef.h:63</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876a53a0a7cf483501d229bf2da279e6c9d0"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a53a0a7cf483501d229bf2da279e6c9d0">SOCKETSTATUS::CONNECTING</a></div><div class="ttdoc">连接中</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00088">SocketDef.h:88</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876a8e36da283b8c83b61bab630b9b858724"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a8e36da283b8c83b61bab630b9b858724">SOCKETSTATUS::RECVED</a></div><div class="ttdoc">接收完成</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00098">SocketDef.h:98</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876a119db78cc4a987e673c0d3ebbfd2d623"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a119db78cc4a987e673c0d3ebbfd2d623">SOCKETSTATUS::CONNECTED</a></div><div class="ttdoc">连接完成</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00089">SocketDef.h:89</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_f_a_m_i_l_y_html"><div class="ttname"><a href="namespace_s_o_c_k_f_a_m_i_l_y.html">SOCKFAMILY</a></div><div class="ttdoc">协议族枚举值</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00055">SocketDef.h:55</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_f_a_m_i_l_y_html_a2752d06098f227dbd8340b30a718da81a7c983a10bd5c8139d1aa1268993d8604"><div class="ttname"><a href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81a7c983a10bd5c8139d1aa1268993d8604">SOCKFAMILY::IPC</a></div><div class="ttdoc">进程间的通信,仅CIpcSocket使用</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00060">SocketDef.h:60</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_p_r_o_t_o_c_o_l_html_a6fcb9a12773185f3ca183ad967bb672ea58ac0a98fdbaa936244fd01553e71dce"><div class="ttname"><a href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea58ac0a98fdbaa936244fd01553e71dce">SOCKPROTOCOL::UDP</a></div><div class="ttdoc">udp协议</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00036">SocketDef.h:36</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_f_a_m_i_l_y_html_a2752d06098f227dbd8340b30a718da81ae4bb989ffed1b2c292589a021e012c8c"><div class="ttname"><a href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81ae4bb989ffed1b2c292589a021e012c8c">SOCKFAMILY::UNKNOWN</a></div><div class="ttdoc">未知（未指定）</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00059">SocketDef.h:59</a></div></div>
<div class="ttc" id="a_socket_def_8h_html_a06a11612afb43fedd0194d8b59cb02ed"><div class="ttname"><a href="_socket_def_8h.html#a06a11612afb43fedd0194d8b59cb02ed">SD_BOTH</a></div><div class="ttdeci">#define SD_BOTH</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00017">SocketDef.h:17</a></div></div>
<div class="ttc" id="anamespace_s_d_f_l_a_g_s_html_a61532db7e32f7ef1369fb2e15a035330ad21a676cf401576e5b1791b1b347e7a2"><div class="ttname"><a href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330ad21a676cf401576e5b1791b1b347e7a2">SDFLAGS::SDF_BOTH</a></div><div class="ttdoc">关闭读写端</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00076">SocketDef.h:76</a></div></div>
<div class="ttc" id="atools_8h_html_ac909db71799bb22cb7d636a34cd785e4"><div class="ttname"><a href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div><div class="ttdeci">#define DEF_END_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00038">tools.h:38</a></div></div>
<div class="ttc" id="anamespace_s_d_f_l_a_g_s_html_a61532db7e32f7ef1369fb2e15a035330a2c7e3a56d176e91b2a9a7a225ff7955b"><div class="ttname"><a href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330a2c7e3a56d176e91b2a9a7a225ff7955b">SDFLAGS::SDF_WRITE</a></div><div class="ttdoc">关闭发送端</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00075">SocketDef.h:75</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_p_r_o_t_o_c_o_l_html_a6fcb9a12773185f3ca183ad967bb672ea1cf712009c4a2e63641289b96b3d233b"><div class="ttname"><a href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea1cf712009c4a2e63641289b96b3d233b">SOCKPROTOCOL::IPC_OPEN</a></div><div class="ttdoc">打开已存在的IPC，当客户端作为连接时使用（仅CIpcSocket使用）</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00033">SocketDef.h:33</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876a4725d556eec60381e5f461825c6e7663"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a4725d556eec60381e5f461825c6e7663">SOCKETSTATUS::SENDABLE</a></div><div class="ttdoc">可写</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00095">SocketDef.h:95</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876acbc6a92d2f6de3cda399fb0de0ffdd98"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876acbc6a92d2f6de3cda399fb0de0ffdd98">SOCKETSTATUS::POST</a></div><div class="ttdoc">用户请求</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00105">SocketDef.h:105</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876">SOCKETSTATUS::SockStatus</a></div><div class="ttdeci">SockStatus</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00085">SocketDef.h:85</a></div></div>
<div class="ttc" id="anamespace_s_d_f_l_a_g_s_html_a61532db7e32f7ef1369fb2e15a035330a8a1d2d7f5a4794a97735886c8c5d829d"><div class="ttname"><a href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330a8a1d2d7f5a4794a97735886c8c5d829d">SDFLAGS::SDF_READ</a></div><div class="ttdoc">关闭接收端</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00074">SocketDef.h:74</a></div></div>
<div class="ttc" id="a_socket_def_8h_html_ab8d2ae8532f7f1a85345500eacfd3b84"><div class="ttname"><a href="_socket_def_8h.html#ab8d2ae8532f7f1a85345500eacfd3b84">SD_SEND</a></div><div class="ttdeci">#define SD_SEND</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00023">SocketDef.h:23</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876a21f4b3f4919004aed6322dd5435c430c"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a21f4b3f4919004aed6322dd5435c430c">SOCKETSTATUS::TIMEOUT</a></div><div class="ttdoc">请求超时</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00102">SocketDef.h:102</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876a38c17a81fd2efb34acfba45cdb0751c7"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a38c17a81fd2efb34acfba45cdb0751c7">SOCKETSTATUS::ABORT</a></div><div class="ttdoc">发生错误</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00104">SocketDef.h:104</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876ae4b62a3fa8bb4b81876189ceed86c0ae"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876ae4b62a3fa8bb4b81876189ceed86c0ae">SOCKETSTATUS::DISCONNECT</a></div><div class="ttdoc">连接被断开</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00100">SocketDef.h:100</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_f_a_m_i_l_y_html_a2752d06098f227dbd8340b30a718da81a00bf55dcef9400794a5918a0fcd59b5d"><div class="ttname"><a href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81a00bf55dcef9400794a5918a0fcd59b5d">SOCKFAMILY::IPV4</a></div><div class="ttdoc">sockaddr_in</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00061">SocketDef.h:61</a></div></div>
<div class="ttc" id="a_socket_def_8h_html_adb37a73baa9ae99a29b2bc5e635b2990"><div class="ttname"><a href="_socket_def_8h.html#adb37a73baa9ae99a29b2bc5e635b2990">SD_RECEIVE</a></div><div class="ttdeci">#define SD_RECEIVE</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00020">SocketDef.h:20</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876a0000a02186d14b5d44fdc32c6079d613"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a0000a02186d14b5d44fdc32c6079d613">SOCKETSTATUS::ACCEPTED</a></div><div class="ttdoc">接收完成</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00091">SocketDef.h:91</a></div></div>
<div class="ttc" id="anamespace_s_d_f_l_a_g_s_html_a61532db7e32f7ef1369fb2e15a035330"><div class="ttname"><a href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330">SDFLAGS::SdFlags</a></div><div class="ttdeci">SdFlags</div><div class="ttdoc">断开发送或接收</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00072">SocketDef.h:72</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876a98a45dbdd82b756e472aafbf06957ad0"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a98a45dbdd82b756e472aafbf06957ad0">SOCKETSTATUS::EXIT</a></div><div class="ttdoc">退出服务请求</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00103">SocketDef.h:103</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876a27b6c69c3b815f5babac4a152f003d42"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a27b6c69c3b815f5babac4a152f003d42">SOCKETSTATUS::CLOSE</a></div><div class="ttdoc">主动关闭</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00101">SocketDef.h:101</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876a820b39ebbedd5bde9ec84464cb0ec61c"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a820b39ebbedd5bde9ec84464cb0ec61c">SOCKETSTATUS::RECVING</a></div><div class="ttdoc">接收中</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00097">SocketDef.h:97</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_f_a_m_i_l_y_html_a2752d06098f227dbd8340b30a718da81"><div class="ttname"><a href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81">SOCKFAMILY::SockFamily</a></div><div class="ttdeci">SockFamily</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00057">SocketDef.h:57</a></div></div>
<div class="ttc" id="anamespace_s_d_f_l_a_g_s_html"><div class="ttname"><a href="namespace_s_d_f_l_a_g_s.html">SDFLAGS</a></div><div class="ttdoc">关闭流标志位</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00070">SocketDef.h:70</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876a5a76b20cc3c857f53d6e5e7e817c8959"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a5a76b20cc3c857f53d6e5e7e817c8959">SOCKETSTATUS::UNINIT</a></div><div class="ttdoc">未初始化</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00087">SocketDef.h:87</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_t_y_p_e_html_ab1b532206487defe92ed4eeae94b488ca001599c1c291d81e5145c9aaed42852d"><div class="ttname"><a href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488ca001599c1c291d81e5145c9aaed42852d">SOCKTYPE::STREAM</a></div><div class="ttdoc">socket数据流</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00047">SocketDef.h:47</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876ae3686c6dc7174963cab19201ce9940ab"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876ae3686c6dc7174963cab19201ce9940ab">SOCKETSTATUS::SEND_CACHE_FULL</a></div><div class="ttdoc">发送缓存已满</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00096">SocketDef.h:96</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
